package website.haicheng.picturemanage.commo.response;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @description:
 * @author: 582895699@qq.com
 * @time: 2020/11/5 下午 10:27
 */
@Getter
@Setter
public class ImageResponse extends CommoResponse {

    /**
     * 消息类型，图片为image
     */
    @JacksonXmlProperty(localName = "MsgType")
    private String msgType = "image";

    /**
     * 通过素材管理中的接口上传多媒体文件，得到的id。
     */
    @JacksonXmlElementWrapper(localName = "Image")
    @JacksonXmlProperty(localName = "MediaId")
    private Long mediaId;
}

